# coding:utf-8
from pathlib import Path
from urllib import parse
from impala.dbapi import connect
from sqlalchemy import create_engine
import pandas as pd

# 读取Hive数据源
conn_dwd = connect(host='172.17.216.53', port=10000, database='dwd', auth_mechanism='PLAIN', user="superhive")
conn_zxk = connect(host='172.17.216.53', port=10000, database='zxk_sdsjzx', auth_mechanism='PLAIN', user="superhive")
conn_ods = connect(host='172.17.216.53', port=10000, database='ods', auth_mechanism='PLAIN', user="superhive")
conn_qzk = connect(host='172.17.216.53', port=10000, database='qzk', auth_mechanism='PLAIN', user="superhive")
conn_std = connect(host='172.17.216.53', port=10000, database='std', auth_mechanism='PLAIN', user="superhive")




